/**
 * Button 组件导出
 */

import type { App } from 'vue'
import Button from './Button.vue'
import type { ButtonProps, ButtonEmits } from './types'

// 添加 install 方法，支持 Vue.use() 注册
Button.install = (app: App) => {
  app.component('VtButton', Button)
  app.component('Button', Button)
}

export { Button }
export type { ButtonProps, ButtonEmits }
export default Button